package com.sll.hosptials.model;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 字典类型
 * @TableName dict_type
 */
@TableName(value ="dict_type")
@Data
public class DictType implements Serializable {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("字典类型id")
    private Integer dictTypeId;

    @ApiModelProperty("字典类型code")
    private String dictTypeCode;

    @ApiModelProperty("逻辑删除")
    private Integer deleted;

    @ApiModelProperty("字典类型名称")
    private String dictTypeName;

    @ApiModelProperty("字典类型描述")
    private String dictTypeDesption;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createDateTime;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateDateTime;

    @ApiModelProperty("字典类型顺序")
    private Integer dictTypeSort;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}